﻿using System.Data.Linq.Mapping;

namespace vurfu.DataContracts
{
    [Table(Name = "dbo.EventTypes")]
    public class EventType
    {
        [Column(Name = "TypeId", DbType = "UniqueIdentifier NOT NULL", IsPrimaryKey = true)]
        public string TypeId { get; set; }

        [Column(Name = "TypeName", DbType = "NVarChar(MAX) NOT NULL", CanBeNull = false)]
        public string TypeName { get; set; }
    }
}
